package com.itsm.xkitsm.liferoot.life.weather;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Q164454216
 * Created by xiaoke on 2017/9/13.
 */

public class DataEnty implements Parcelable {

    private String shidu;//": "75%",
    private String wendu;//": "23",
    private String ganmao;//": "-",
    private String yesterday;//": {
    private String date;//": "12日星期二",
    private String sunrise;//": "05:49",
    private String high;//": "高温 29.0℃",
    private String low;//": "低温 18.0℃",
    private String sunset;//": "18:27",
    private String aqi;//": 56,
    private String fx;//": "南风",
    private String fl;//": "<3级",
    private String type;//": "晴",
    private String notice;//": "晴空万里，去沐浴阳光吧"

    private String forecast;

    public String getShidu() {
        return shidu;
    }

    public void setShidu(String shidu) {
        this.shidu = shidu;
    }

    public String getWendu() {
        return wendu;
    }

    public void setWendu(String wendu) {
        this.wendu = wendu;
    }

    public String getGanmao() {
        return ganmao;
    }

    public void setGanmao(String ganmao) {
        this.ganmao = ganmao;
    }

    public String getYesterday() {
        return yesterday;
    }

    public void setYesterday(String yesterday) {
        this.yesterday = yesterday;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSunrise() {
        return sunrise;
    }

    public void setSunrise(String sunrise) {
        this.sunrise = sunrise;
    }

    public String getHigh() {
        return high;
    }

    public void setHigh(String high) {
        this.high = high;
    }

    public String getLow() {
        return low;
    }

    public void setLow(String low) {
        this.low = low;
    }

    public String getSunset() {
        return sunset;
    }

    public void setSunset(String sunset) {
        this.sunset = sunset;
    }

    public String getAqi() {
        return aqi;
    }

    public void setAqi(String aqi) {
        this.aqi = aqi;
    }

    public String getFx() {
        return fx;
    }

    public void setFx(String fx) {
        this.fx = fx;
    }

    public String getFl() {
        return fl;
    }

    public void setFl(String fl) {
        this.fl = fl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public String getForecast() {
        return forecast;
    }

    public void setForecast(String forecast) {
        this.forecast = forecast;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.shidu);
        dest.writeString(this.wendu);
        dest.writeString(this.ganmao);
        dest.writeString(this.yesterday);
        dest.writeString(this.date);
        dest.writeString(this.sunrise);
        dest.writeString(this.high);
        dest.writeString(this.low);
        dest.writeString(this.sunset);
        dest.writeString(this.aqi);
        dest.writeString(this.fx);
        dest.writeString(this.fl);
        dest.writeString(this.type);
        dest.writeString(this.notice);
        dest.writeString(this.forecast);
    }

    public DataEnty() {
    }

    protected DataEnty(Parcel in) {
        this.shidu = in.readString();
        this.wendu = in.readString();
        this.ganmao = in.readString();
        this.yesterday = in.readString();
        this.date = in.readString();
        this.sunrise = in.readString();
        this.high = in.readString();
        this.low = in.readString();
        this.sunset = in.readString();
        this.aqi = in.readString();
        this.fx = in.readString();
        this.fl = in.readString();
        this.type = in.readString();
        this.notice = in.readString();
        this.forecast = in.readString();
    }

    public static final Creator<DataEnty> CREATOR = new Creator<DataEnty>() {
        @Override
        public DataEnty createFromParcel(Parcel source) {
            return new DataEnty(source);
        }

        @Override
        public DataEnty[] newArray(int size) {
            return new DataEnty[size];
        }
    };
}
